package com.fg.pro.trade.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品_货值(TradeStock)表实体类
 *
 * @author makejava
 * @since 2025-08-20 10:10:15
 */
@SuppressWarnings("serial")
@Data
public class TradeStock extends Model<TradeStock> {
//主键
    private Long id;
//商品id
    private Long goodsId;
//商品名称
    private String goodsName;
//基本单位
    private String goodsBaseUnitName;
//仓库
    private String stockName;
//一级分类id
    private Long categoryFirId;
//一级商品分类名称
    private String categoryFirName;
//二级分类id
    private Long categorySecId;
//二级商品分类名称
    private String categorySecName;

    private Date createTime;
//期初库存
    private Double stockInitialStock;
//期初货值
    private Double stockInitialValue;
//期初均价
    private Double stockInitialAvePrice;
//期末库存
    private Double stockEndStock;
//超支库存
    private Double stockOverStock;
//期末货值
    private Double stockEndValue;
//期末均价
    private Double stockEndAvePrice;
//本期采购入库数量
    private Double stockInPurchaseNum;
//本期入库成本
    private Double stockInPurchaseCost;
//本期采购退货出库数量
    private Double stockOutPurchaseReturnNum;
//本期采购退货出金额
    private Double stockOutPurchaseReturnPrice;
//本期销售出库数量
    private Double stockOutSaleNum;
//本期销售出库金额
    private Double stockOutSalePrice;
//本期销售退货入库数量
    private Double stockInSaleReturnNum;
//本期销售退货入库金额
    private Double stockInSaleReturnPrice;
//本期领料出库数量
    private Double stockOutPickingNum;
//本期领料出库金额
    private Double stockOutPickingPrice;
//本期退料入库数量
    private Double stockInPickingReturnNum;
//本期退料入库金额
    private Double stockInPickingReturnPrice;
//本期生产入库数量
    private Double stockInMakeNum;
//本期生产入库金额
    private Double stockInMakePrice;
//本期盘盈入库数量
    private Double stockInOverflowNum;
//本期盘盈入库金额
    private Double stockInOverflowPrice;
//本期调拨入库数量
    private Double stockInAdjustmentNum;
//本期调拨入库金额
    private Double stockInAdjustmentPrice;
//本期组装拆卸入库数量
    private Double stockInDisassemblyNum;
//本期组装拆卸入库金额
    private Double stockInDisassemblyPrice;
//本期盘亏出库数量
    private Double stockOutLossNum;
//本期盘亏出库金额
    private Double stockOutLossPrice;
//本期其他入库数量
    private Double stockInOtherNum;
//本期其他入库金额
    private Double stockInOtherPrice;
//本期其他出库数量
    private Double stockOutOtherNum;
//本期其他出库金额
    private Double stockOutOtherPrice;
//本期调拨出库数量
    private Double stockOutAdjustmentNum;
//本期调拨出库金额
    private Double stockOutAdjustmentPrice;
//本期组装拆卸出库数量
    private Double stockOutDisassemblyNum;
//本期组装拆卸出库金额
    private Double stockOutDisassemblyPrice;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsBaseUnitName() {
        return goodsBaseUnitName;
    }

    public void setGoodsBaseUnitName(String goodsBaseUnitName) {
        this.goodsBaseUnitName = goodsBaseUnitName;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public Long getCategoryFirId() {
        return categoryFirId;
    }

    public void setCategoryFirId(Long categoryFirId) {
        this.categoryFirId = categoryFirId;
    }

    public String getCategoryFirName() {
        return categoryFirName;
    }

    public void setCategoryFirName(String categoryFirName) {
        this.categoryFirName = categoryFirName;
    }

    public Long getCategorySecId() {
        return categorySecId;
    }

    public void setCategorySecId(Long categorySecId) {
        this.categorySecId = categorySecId;
    }

    public String getCategorySecName() {
        return categorySecName;
    }

    public void setCategorySecName(String categorySecName) {
        this.categorySecName = categorySecName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getStockInitialStock() {
        return stockInitialStock;
    }

    public void setStockInitialStock(Double stockInitialStock) {
        this.stockInitialStock = stockInitialStock;
    }

    public Double getStockInitialValue() {
        return stockInitialValue;
    }

    public void setStockInitialValue(Double stockInitialValue) {
        this.stockInitialValue = stockInitialValue;
    }

    public Double getStockInitialAvePrice() {
        return stockInitialAvePrice;
    }

    public void setStockInitialAvePrice(Double stockInitialAvePrice) {
        this.stockInitialAvePrice = stockInitialAvePrice;
    }

    public Double getStockEndStock() {
        return stockEndStock;
    }

    public void setStockEndStock(Double stockEndStock) {
        this.stockEndStock = stockEndStock;
    }

    public Double getStockOverStock() {
        return stockOverStock;
    }

    public void setStockOverStock(Double stockOverStock) {
        this.stockOverStock = stockOverStock;
    }

    public Double getStockEndValue() {
        return stockEndValue;
    }

    public void setStockEndValue(Double stockEndValue) {
        this.stockEndValue = stockEndValue;
    }

    public Double getStockEndAvePrice() {
        return stockEndAvePrice;
    }

    public void setStockEndAvePrice(Double stockEndAvePrice) {
        this.stockEndAvePrice = stockEndAvePrice;
    }

    public Double getStockInPurchaseNum() {
        return stockInPurchaseNum;
    }

    public void setStockInPurchaseNum(Double stockInPurchaseNum) {
        this.stockInPurchaseNum = stockInPurchaseNum;
    }

    public Double getStockInPurchaseCost() {
        return stockInPurchaseCost;
    }

    public void setStockInPurchaseCost(Double stockInPurchaseCost) {
        this.stockInPurchaseCost = stockInPurchaseCost;
    }

    public Double getStockOutPurchaseReturnNum() {
        return stockOutPurchaseReturnNum;
    }

    public void setStockOutPurchaseReturnNum(Double stockOutPurchaseReturnNum) {
        this.stockOutPurchaseReturnNum = stockOutPurchaseReturnNum;
    }

    public Double getStockOutPurchaseReturnPrice() {
        return stockOutPurchaseReturnPrice;
    }

    public void setStockOutPurchaseReturnPrice(Double stockOutPurchaseReturnPrice) {
        this.stockOutPurchaseReturnPrice = stockOutPurchaseReturnPrice;
    }

    public Double getStockOutSaleNum() {
        return stockOutSaleNum;
    }

    public void setStockOutSaleNum(Double stockOutSaleNum) {
        this.stockOutSaleNum = stockOutSaleNum;
    }

    public Double getStockOutSalePrice() {
        return stockOutSalePrice;
    }

    public void setStockOutSalePrice(Double stockOutSalePrice) {
        this.stockOutSalePrice = stockOutSalePrice;
    }

    public Double getStockInSaleReturnNum() {
        return stockInSaleReturnNum;
    }

    public void setStockInSaleReturnNum(Double stockInSaleReturnNum) {
        this.stockInSaleReturnNum = stockInSaleReturnNum;
    }

    public Double getStockInSaleReturnPrice() {
        return stockInSaleReturnPrice;
    }

    public void setStockInSaleReturnPrice(Double stockInSaleReturnPrice) {
        this.stockInSaleReturnPrice = stockInSaleReturnPrice;
    }

    public Double getStockOutPickingNum() {
        return stockOutPickingNum;
    }

    public void setStockOutPickingNum(Double stockOutPickingNum) {
        this.stockOutPickingNum = stockOutPickingNum;
    }

    public Double getStockOutPickingPrice() {
        return stockOutPickingPrice;
    }

    public void setStockOutPickingPrice(Double stockOutPickingPrice) {
        this.stockOutPickingPrice = stockOutPickingPrice;
    }

    public Double getStockInPickingReturnNum() {
        return stockInPickingReturnNum;
    }

    public void setStockInPickingReturnNum(Double stockInPickingReturnNum) {
        this.stockInPickingReturnNum = stockInPickingReturnNum;
    }

    public Double getStockInPickingReturnPrice() {
        return stockInPickingReturnPrice;
    }

    public void setStockInPickingReturnPrice(Double stockInPickingReturnPrice) {
        this.stockInPickingReturnPrice = stockInPickingReturnPrice;
    }

    public Double getStockInMakeNum() {
        return stockInMakeNum;
    }

    public void setStockInMakeNum(Double stockInMakeNum) {
        this.stockInMakeNum = stockInMakeNum;
    }

    public Double getStockInMakePrice() {
        return stockInMakePrice;
    }

    public void setStockInMakePrice(Double stockInMakePrice) {
        this.stockInMakePrice = stockInMakePrice;
    }

    public Double getStockInOverflowNum() {
        return stockInOverflowNum;
    }

    public void setStockInOverflowNum(Double stockInOverflowNum) {
        this.stockInOverflowNum = stockInOverflowNum;
    }

    public Double getStockInOverflowPrice() {
        return stockInOverflowPrice;
    }

    public void setStockInOverflowPrice(Double stockInOverflowPrice) {
        this.stockInOverflowPrice = stockInOverflowPrice;
    }

    public Double getStockInAdjustmentNum() {
        return stockInAdjustmentNum;
    }

    public void setStockInAdjustmentNum(Double stockInAdjustmentNum) {
        this.stockInAdjustmentNum = stockInAdjustmentNum;
    }

    public Double getStockInAdjustmentPrice() {
        return stockInAdjustmentPrice;
    }

    public void setStockInAdjustmentPrice(Double stockInAdjustmentPrice) {
        this.stockInAdjustmentPrice = stockInAdjustmentPrice;
    }

    public Double getStockInDisassemblyNum() {
        return stockInDisassemblyNum;
    }

    public void setStockInDisassemblyNum(Double stockInDisassemblyNum) {
        this.stockInDisassemblyNum = stockInDisassemblyNum;
    }

    public Double getStockInDisassemblyPrice() {
        return stockInDisassemblyPrice;
    }

    public void setStockInDisassemblyPrice(Double stockInDisassemblyPrice) {
        this.stockInDisassemblyPrice = stockInDisassemblyPrice;
    }

    public Double getStockOutLossNum() {
        return stockOutLossNum;
    }

    public void setStockOutLossNum(Double stockOutLossNum) {
        this.stockOutLossNum = stockOutLossNum;
    }

    public Double getStockOutLossPrice() {
        return stockOutLossPrice;
    }

    public void setStockOutLossPrice(Double stockOutLossPrice) {
        this.stockOutLossPrice = stockOutLossPrice;
    }

    public Double getStockInOtherNum() {
        return stockInOtherNum;
    }

    public void setStockInOtherNum(Double stockInOtherNum) {
        this.stockInOtherNum = stockInOtherNum;
    }

    public Double getStockInOtherPrice() {
        return stockInOtherPrice;
    }

    public void setStockInOtherPrice(Double stockInOtherPrice) {
        this.stockInOtherPrice = stockInOtherPrice;
    }

    public Double getStockOutOtherNum() {
        return stockOutOtherNum;
    }

    public void setStockOutOtherNum(Double stockOutOtherNum) {
        this.stockOutOtherNum = stockOutOtherNum;
    }

    public Double getStockOutOtherPrice() {
        return stockOutOtherPrice;
    }

    public void setStockOutOtherPrice(Double stockOutOtherPrice) {
        this.stockOutOtherPrice = stockOutOtherPrice;
    }

    public Double getStockOutAdjustmentNum() {
        return stockOutAdjustmentNum;
    }

    public void setStockOutAdjustmentNum(Double stockOutAdjustmentNum) {
        this.stockOutAdjustmentNum = stockOutAdjustmentNum;
    }

    public Double getStockOutAdjustmentPrice() {
        return stockOutAdjustmentPrice;
    }

    public void setStockOutAdjustmentPrice(Double stockOutAdjustmentPrice) {
        this.stockOutAdjustmentPrice = stockOutAdjustmentPrice;
    }

    public Double getStockOutDisassemblyNum() {
        return stockOutDisassemblyNum;
    }

    public void setStockOutDisassemblyNum(Double stockOutDisassemblyNum) {
        this.stockOutDisassemblyNum = stockOutDisassemblyNum;
    }

    public Double getStockOutDisassemblyPrice() {
        return stockOutDisassemblyPrice;
    }

    public void setStockOutDisassemblyPrice(Double stockOutDisassemblyPrice) {
        this.stockOutDisassemblyPrice = stockOutDisassemblyPrice;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

